Programming with Sociable Resources
نویسندگان
چکیده
We present a model for shared-memory parallel programming that makes shared objects (“resources”) the drivers of heap-manipulating parallel computations. The model aims to syntactically capture patterns of spatial locality in heap updates and to express the maximum amount of logical parallelism in computations. To achieve this, we take a “resources’-eye” view of parallel operations on the heap. Resources are now viewed as active entities arranged in a network that is the heap. While they actively change their data content and links to other resources, each change is local and restricted to a spatial “neighborhood”. Global computations are phrased as massively parallel compositions of these local operations. Our programming abstractions include operations that merge neighboring resources into larger resources and split complex resources into simpler ones. These abstractions are composable and directly encode heap-allocated data structures and spatial separation among resources. The model is data-race free even though it does not explicitly use locks. We demonstrate that the model allows easy, and easily parallelizable, programming of several important applications exhibiting irregular data-parallelism. In particular, it faithfully expresses the parallelism inherent in many natural processes and thus seems ideal for scientific and multimedia applications modeling them.
منابع مشابه
Sociable Tabletop Companions at "Dinner Party"
This paper describes the challenges and processes of developing a sociable interface and presents the implementation of one sociable interface, Dinner Party, in which a participant interacts with virtual creatures while dining alone. This paper explains how mundane objects can be sociable interfaces that interact with humans on a psychological level.
متن کاملCorrection: Sociable Weavers Increase Cooperative Nest Construction after Suffering Aggression
The major transitions in evolution rely on the formation of stable groups that are composed of previously independent units, and the stability of these groups requires both cooperation and reduced conflict. Conflict over group resources may be common, as suggested by work in both cichlids and humans that has investigated how societies resolve conflict regarding investment in group resources, i....
متن کاملA Comprehensive Model for R and D Project Portfolio Selection with Zero-One Linear Goal-Programming (RESEARCH NOTE)
Technology centered organizations must be able to identify promising new products or process improvements at an early stage so that the necessary resources can be allocated to those activities. It is essential to invest in targeted research and development (R and D) projects as opposed to a wide range of ideas so that resources can be focused on successful outcomes. The selection of the most ap...
متن کاملAPPLICATION OF LINEAR PROGRAMMING TECHNIQUES IN PRODUCTION PLANNING
Optimum utilization of limited resources in the production floor demands that the production manager makes decisions on the best allocation of limited resources. This study applied linear programming techniques to production planning problem in a feed mill producing company. Linear Programming model was formulated based on data obtained from the company operations’ diary. Data was processed wit...
متن کاملOptimum allocation of Iranian oil and gas resources using multi-objective linear programming and particle swarm optimization in resistive economy conditions
This research presents a model for optimal allocation of Iranian oil and gas resources in sanction condition based on stochastic linear multi-objective programming. The general policies of the resistive economy include expanding exports of gas, electricity, petrochemical and petroleum products, expanding the strategic oil and gas reserves, increasing added value through completing the petroleum...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008